/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package net.gis.eemc.dao;

import java.util.List;

import net.gis.eemc.domain.Discipline;
import net.gis.eemc.domain.Faculty;
import net.gis.eemc.domain.Department;

/**
 *
 * @author Sergey
 */
public interface DisciplineDAO {

    public void addDiscipline(Discipline discipline);

    public void updateDiscipline(Discipline discipline);

    public void removeDiscipline(Discipline discipline);

    public List<Discipline> listDisciplines();

    public List<Discipline> listDisciplines(Faculty faculty);

    public List<Discipline> listDisciplines(Department department);

    public Discipline getDiscipline(Integer discipId);

    public List<Discipline> getDisciplinesWithName(String disciplineName);

    public List<Discipline> getDisciplinesWithCode(int disciplineCode);

}
